Skip to content

style: apply Rust 2024 formatting and enforce it in CI - #11

Merged
francescobianco merged 2 commits into
openapi:mainfrom
mountaincoding:fix-5-rust-formatting
Dec 4, 2026
Merged

francescobianco merged 2 commits into
openapi:mainfrom
mountaincoding:fix-5-rust-formatting

Conversation

@mountaincoding

Copy link
Copy Markdown
Contributor

Summary

  • Applied Rust 2024 formatting using cargo fmt --all, resolving 43 formatting differences across 18 source files.
  • Added cargo fmt --all -- --check to the existing CI workflow for pushes and pull requests targeting main.
  • Maintained formatting and CI changes in separate commits.

No functional changes or dependency updates were made.

Testing

Tested locally on macOS (Apple Silicon) with Rust 1.100.1.

  • cargo fmt --all -- --check — passed
  • git diff --check — passed
  • cargo build --locked — passed
  • cargo test --locked — 3 passed, 0 failed

Closes #5

@francescobianco
francescobianco merged commit 0bb1ed3 into openapi:main Dec 4, 2026
1 check passed
@francescobianco

Copy link
Copy Markdown
Member

Merged, thank you @mountaincoding! Clean, formatting-only diff and the CI check works. 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Apply the Rust 2024 formatting style and check it in CI

2 participants